package com.zmj.sy.mom.srv.aps.bean.entity.order;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Comment("生产平衡率统计数据")
@Getter
@Setter
@TableName("tb_mbd_balance_rate_op")
public class MbdBalanceRateOp extends BaseEntity {

    @Comment("MBD订单ID")
    private Integer orderId;

    @Comment("留痕ID，为空表示还未留痕")
    private Integer dataId;

    @Comment("调整工序阶段，P1、P2、P3、P4、P5")
    private String changedStage;

    @Comment("调整工序代码")
    private String changedPhaseCode;

    @Comment("调整工序代码")
    private String changedPhaseName;

    @Comment("调整值，增加为正值，减少为负值")
    private BigDecimal changedValue;

    @Comment("影响工序阶段，P1、P2、P3、P4、P5")
    private String influencedStage;

    @Comment("影响工序代码")
    private String influencedPhaseCode;

    @Comment("影响工序名称")
    private String influencedPhaseName;

    @Comment("平衡率计算维度，1工序2工作组")
    private Integer dimensionType;

}
